package com.event;

import com.pojo.Notifications;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class NotificationEvent extends ApplicationEvent {

    private final Notifications notification;

    public NotificationEvent(Notifications notification) {
        super(notification);
        this.notification = notification;
    }
}